<?php js_validate();?>
<form id="form-validated" class="input" action="<?php echo $own_links;?>save" method="post">
		<input type="hidden" name="group_id" id="group_id" value="<?php echo isset($val->id)?$val->id:'';?>" />
		<table class="table-form">
			<tr>
				<td>Nama Group Akses</td>
				<td><input type="text" id="group_name" name="group_name" class="validate[required]"size="30" value="<?php echo isset($val->group_name)?$val->group_name:'';?>" /></td>
			</tr>
			<tr>
				<td>Penjelasan Group Akses</td>
				<td><input type="text" id="group_desc" name="group_desc" class="validate[required]"size="80" value="<?php echo isset($val->group_desc)?$val->group_desc:'';?>" /></td>
			</tr>
			<tr>
				<td>Status Group</td>
				<td>
					<select id="group_status" name="group_status" class="validate[required]">
						<option value="1" <?php echo (isset($val->group_status)&& $val->group_status=="1")?'selected="selected"':'';?>>Aktif</option>
						<option value="0"  <?php echo (isset($val->group_status)&& $val->group_status=="0")?'selected="selected"':'';?> >Non Aktif</option>
					</select>
				</td>
			</tr>
			<tr><td colspan="2">&nbsp;</td></tr>
			<tr>
				<td><input type="reset" onclick="document.location='<?php echo $own_links;?>'" class="btnbatal" value="Batal" /></td>
				<td align="right"><input type="submit" class="btnsimpan" value="Simpan" /></td>
			</tr>
		</table>
	</form>